Hidden Dependency ^^^^^ **Definition:** * Closely related to the local hero, a unit test that requires some existing data to have been populated somewhere before the test runs. If that data wasn’t populated, the test will fail and leave little indication to the developer what it wanted, or why… forcing them to dig through acres of code to find out where the data it was using was supposed to come from. **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `Anti-Patterns - Digital Tapestry `_ * `Categorising Test Smells `_ :octicon:`graph;1em` * `Smells in software test code: A survey of knowledge in industry and academia `_ * `Tdd antipatterns: Local hero `_ * `Test-Driven Development: TDD Anti-Patterns `_ * `Unit testing Anti-patterns catalogue `_